package com.yx.fx.common.constant;

/**
 * 常量池
 *
 * @author: 杨智杰
 * @date: 2021/2/23 9:34
 */
public final class BaseConstant {

    /**
     * -1
     */
    public static final int NEGATIVE_ONE = -1;

    /**
     * 0
     */
    public static final int ZERO = 0;

    /**
     * 1
     */
    public static final int ONE = 1;

    /**
     * 2
     */
    public static final int TWO = 2;

    /**
     * 3
     */
    public static final int THREE = 3;

    /**
     * 4
     */
    public static final int FOUR = 4;

    /**
     * 5
     */
    public static final int FIVE = 5;

    /**
     * 6
     */
    public static final int SIX = 6;

    /**
     * 7
     */
    public static final int SEVEN = 7;

    /**
     * 8
     */
    public static final int EIGHT = 8;

    /**
     * 9
     */
    public static final int NINE = 9;

    /**
     * 10
     */
    public static final int TEN = 10;

    /**
     * 11
     */
    public static final int ELEVEN = 11;

    /**
     * 12
     */
    public static final int TWELVE = 12;

    /**
     * 14
     */
    public static final int FOURTEEN = 14;

    /**
     * 16
     */
    public static final int SIXTEEN = 16;

    /**
     * 20
     */
    public static final int TWENTY = 20;

    /**
     * 24
     */
    public static final int TWENTY_FOUR = 24;

    /**
     * 30
     */
    public static final int THIRTY = 30;

    /**
     * 32
     */
    public static final int THIRTY_TWO = 32;

    /**
     * 98
     */
    public static final int NINETY_EIGHT = 98;

    /**
     * 99
     */
    public static final int NINETY_NINE = 99;

    /**
     * Authorization
     */
    public static final String AUTHORIZATION = "Authorization";

    /**
     * token长度
     */
    public static final int TOKEN_LENGTH = NINETY_EIGHT;

    /**
     * mysql版只取一个
     */
    public static final String MYSQL_LIMIT_ONE = "LIMIT 1";

    /**
     * oracle版只取一个
     */
    public static final String ORACLE_LIMIT_ONE = "ROWNUM <= 1";

    /**
     * 管理员权限标识
     */
    public static final String ADMIN = "admin";

}
